package org.jeecg.modules.fund.service;

import cn.hutool.core.lang.Dict;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.fund.entity.FundLibrary;
import org.jeecg.modules.fund.entity.FundOptional;
import org.jeecg.modules.fund.entity.FundValue;

import java.util.List;

public interface IFundOptionalService extends IService<FundOptional> {
    /**
     * 添加自选
     * @param optional
     * @return
     */
    Result<FundOptional> add(FundOptional optional);

    /**
     * 删除自选
     * @param id
     * @return
     */
    Result<String> delete(String id);

    /**
     * 查询波段
     * @param fundId
     * @return
     */
    Result<List<Dict>> queryWave(String fundId);
}
